home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_283_a17A < prev    next >
Unknown  |  1994-07-14  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 22 00 00 03 b3 00 00 | 00 22 61 31 37 41 00 00 |."......|."a17A..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 08 43 54 45 50 72 | 69 6e 74 00 00 06 00 00 |...CTEPr|int.....|
|00000060| 00 00 00 94 00 00 03 b4 | 00 00 00 94 00 00 00 14 |........|........|
|00000070| 03 c1 00 28 05 7e 00 ff | 00 00 00 00 00 00 0f a8 |...(.~..|........|
|00000080| 00 00 00 00 4e 1c 00 00 | 00 09 00 00 00 04 00 04 |....N...|........|
|00000090| ff fc ff fa 00 04 00 04 | ff fc ff fc 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 83 00 0b 40 | 10 6b 53 63 72 65 65 6e |.......@|.kScreen|
|000000b0| 41 50 49 2f 31 39 39 39 | 36 00 06 47 65 6e 65 76 |API/1999|6..Genev|
|000000c0| 61 00 00 3a 4f 53 45 72 | 72 20 43 54 45 50 72 69 |a..:OSEr|r CTEPri|
|000000d0| 6e 74 28 54 45 48 61 6e | 64 6c 65 20 74 65 48 6e |nt(TEHan|dle teHn|
|000000e0| 64 6c 2c 20 73 68 6f 72 | 74 20 2a 6f 66 66 73 65 |dl, shor|t *offse|
|000000f0| 74 2c 20 52 65 63 74 20 | 2a 72 63 74 29 3b 00 00 |t, Rect |*rct);..|
|00000100| 00 06 00 00 00 00 00 90 | 00 00 03 b5 00 00 00 90 |........|........|
|00000110| 00 00 00 00 03 c1 00 14 | 05 7e 00 ff 00 00 00 00 |........|.~......|
|00000120| 00 00 0f a8 00 00 00 00 | 4e 1d 00 00 00 09 00 00 |........|N.......|
|00000130| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 83 00 0b 40 14 6b 53 63 |........|...@.kSc|
|00000150| 72 65 65 6e 4f 6e 65 4c | 69 6e 65 2f 31 39 39 39 |reenOneL|ine/1999|
|00000160| 37 00 06 47 65 6e 65 76 | 61 00 00 32 47 65 74 20 |7..Genev|a..2Get |
|00000170| 63 6f 72 72 65 63 74 20 | 6e 75 6d 62 65 72 20 6f |correct |number o|
|00000180| 66 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 20 54 65 |f line i|n the Te|
|00000190| 78 74 45 64 69 74 20 68 | 61 6e 64 6c 65 2e 00 00 |xtEdit h|andle...|
|000001a0| 00 06 00 00 00 00 00 44 | 00 00 03 b6 00 00 00 44 |.......D|.......D|
|000001b0| 00 00 00 00 02 6b 04 40 | 02 6c 01 00 00 00 00 00 |.....k.@|.l......|
|000001c0| 00 01 0f f1 00 00 00 00 | 00 00 00 00 00 0c 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 06 00 00 | 00 00 00 79 00 00 03 b7 |........|...y....|
|00000200| 00 00 00 79 00 00 00 00 | 02 6b 02 28 03 c1 00 ff |...y....|.k.(....|
|00000210| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 16 00 00 |........|....N...|
|00000220| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|00000230| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|00000240| 0b 6c 69 6e 6b 73 2f 31 | 39 39 39 30 00 06 4d 6f |.links/1|9990..Mo|
|00000250| 6e 61 63 6f 00 00 0e 61 | 31 37 41 2c 43 54 45 50 |naco...a|17A,CTEP|
|00000260| 72 69 6e 74 0d 00 16 00 | 01 00 00 00 00 00 10 00 |rint....|........|
|00000270| 0c 00 01 00 00 00 00 00 | 00 00 00 00 00 00 06 00 |........|........|
|00000280| 00 00 00 08 09 00 00 03 | b8 00 00 08 09 00 00 00 |........|........|
|00000290| 00 00 00 75 30 02 6b 01 | ff 00 00 00 00 00 00 0f |...u0.k.|........|
|000002a0| a8 00 00 00 00 4e 1f 00 | 00 00 09 00 00 00 04 00 |.....N..|........|
|000002b0| 04 ff fc ff fa 00 04 00 | 04 ff fc ff fc 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 83 00 0b | 40 0a 62 6f 64 79 2f 31 |........|@.body/1|
|000002d0| 39 39 39 39 00 06 4d 6f | 6e 61 63 6f 00 07 9f 4f |9999..Mo|naco...O|
|000002e0| 53 45 72 72 20 43 54 45 | 50 72 69 6e 74 28 54 45 |SErr CTE|Print(TE|
|000002f0| 48 61 6e 64 6c 65 20 74 | 65 48 6e 64 6c 2c 20 73 |Handle t|eHndl, s|
|00000300| 68 6f 72 74 20 2a 6f 66 | 66 73 65 74 2c 20 52 65 |hort *of|fset, Re|
|00000310| 63 74 20 2a 72 63 74 29 | 3b 0d 0d 49 4e 50 55 54 |ct *rct)|;..INPUT|
|00000320| 3a 20 20 74 65 48 6e 64 | 6c 20 20 20 20 20 20 54 |: teHnd|l T|
|00000330| 65 78 74 45 64 69 74 20 | 68 61 6e 64 6c 65 20 74 |extEdit |handle t|
|00000340| 6f 20 70 72 69 6e 74 2e | 0d 49 4e 2f 4f 55 54 20 |o print.|.IN/OUT |
|00000350| 20 6f 66 66 73 65 74 20 | 20 20 20 20 20 50 6f 69 | offset | Poi|
|00000360| 6e 74 65 72 20 74 6f 20 | 73 68 6f 72 74 20 68 6f |nter to |short ho|
|00000370| 6c 64 69 6e 67 20 6f 66 | 66 73 65 74 20 74 6f 20 |lding of|fset to |
|00000380| 63 6f 6e 74 69 6e 75 65 | 20 70 72 69 6e 74 69 6e |continue| printin|
|00000390| 67 20 66 72 6f 6d 2e 0d | 20 20 20 20 20 20 20 20 |g from..| |
|000003a0| 52 65 63 74 20 20 20 20 | 20 20 20 20 50 6f 69 6e |Rect | Poin|
|000003b0| 74 65 72 20 74 6f 20 72 | 65 63 74 20 74 68 61 74 |ter to r|ect that|
|000003c0| 20 74 65 78 74 20 69 73 | 20 77 72 61 70 70 65 64 | text is| wrapped|
|000003d0| 20 69 6e 2c 20 61 6e 64 | 20 77 72 61 70 70 65 64 | in, and| wrapped|
|000003e0| 20 74 65 78 74 0d 20 20 | 20 20 20 20 20 20 20 20 | text. | |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 62 6f 75 6e 64 61 | | bounda|
|00000400| 72 79 20 69 73 20 72 65 | 74 75 72 6e 65 64 20 69 |ry is re|turned i|
|00000410| 6e 2e 0d 52 45 54 55 52 | 4e 3a 20 4f 53 45 72 72 |n..RETUR|N: OSErr|
|00000420| 20 20 20 20 20 20 20 53 | 6f 6d 65 20 6b 69 6e 64 | S|ome kind|
|00000430| 20 6f 66 20 65 72 72 6f | 72 20 70 72 65 76 65 6e | of erro|r preven|
|00000440| 74 65 64 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 28 |ted comp|letion (|
|00000450| 6c 69 6b 65 6c 79 20 6d | 65 6d 46 75 6c 6c 45 72 |likely m|emFullEr|
|00000460| 72 29 2e 0d 0d 55 73 65 | 20 74 68 69 73 20 66 75 |r)...Use| this fu|
|00000470| 6e 63 74 69 6f 6e 20 74 | 6f 20 70 72 69 6e 74 20 |nction t|o print |
|00000480| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00000490| 61 20 54 65 78 74 45 64 | 69 74 20 72 65 63 6f 72 |a TextEd|it recor|
|000004a0| 64 2e 20 20 50 61 73 73 | 20 69 74 20 61 0d 54 65 |d. Pass| it a.Te|
|000004b0| 78 74 45 64 69 74 20 68 | 61 6e 64 6c 65 2c 20 61 |xtEdit h|andle, a|
|000004c0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 20 74 65 | pointer| to a te|
|000004d0| 78 74 20 6f 66 66 73 65 | 74 2c 20 61 6e 64 20 61 |xt offse|t, and a|
|000004e0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 20 72 65 | pointer| to a re|
|000004f0| 63 74 20 74 6f 0d 70 72 | 69 6e 74 20 74 68 65 20 |ct to.pr|int the |
|00000500| 74 65 78 74 20 69 6e 2e | 20 20 54 68 65 20 6f 66 |text in.| The of|
|00000510| 66 73 65 74 20 73 68 6f | 75 6c 64 20 62 65 20 69 |fset sho|uld be i|
|00000520| 6e 69 74 69 61 6c 69 7a | 65 64 20 74 6f 20 77 68 |nitializ|ed to wh|
|00000530| 61 74 20 63 68 61 72 61 | 63 74 65 72 0d 69 6e 20 |at chara|cter.in |
|00000540| 74 68 65 20 54 65 78 74 | 45 64 69 74 20 72 65 63 |the Text|Edit rec|
|00000550| 6f 72 64 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |ord you |wish to |
|00000560| 73 74 61 72 74 20 70 72 | 69 6e 74 69 6e 67 20 61 |start pr|inting a|
|00000570| 74 20 28 6d 6f 73 74 20 | 6c 69 6b 65 6c 79 20 30 |t (most |likely 0|
|00000580| 29 2e 0d 54 68 65 20 70 | 72 69 6e 74 20 66 75 6e |)..The p|rint fun|
|00000590| 63 74 69 6f 6e 20 70 72 | 69 6e 74 73 20 61 73 20 |ction pr|ints as |
|000005a0| 6d 75 63 68 20 74 65 78 | 74 20 61 73 20 77 69 6c |much tex|t as wil|
|000005b0| 6c 20 66 69 74 20 69 6e | 20 74 68 65 20 72 65 63 |l fit in| the rec|
|000005c0| 74 2c 20 61 6e 64 0d 74 | 68 65 6e 20 75 70 64 61 |t, and.t|hen upda|
|000005d0| 74 65 73 20 74 68 65 20 | 6f 66 66 73 65 74 20 74 |tes the |offset t|
|000005e0| 6f 20 74 65 6c 6c 20 79 | 6f 75 20 77 68 61 74 20 |o tell y|ou what |
|000005f0| 69 73 20 74 68 65 20 66 | 69 72 73 74 20 63 68 61 |is the f|irst cha|
|00000600| 72 61 63 74 65 72 20 74 | 68 61 74 20 64 69 64 6e |racter t|hat didn|
|00000610| d5 74 0d 70 72 69 6e 74 | 2e 20 20 59 6f 75 20 63 |.t.print|. You c|
|00000620| 61 6e 20 74 68 65 6e 20 | 63 61 6c 6c 20 74 68 65 |an then |call the|
|00000630| 20 70 72 69 6e 74 20 66 | 75 6e 63 74 69 6f 6e 20 | print f|unction |
|00000640| 61 67 61 69 6e 20 77 69 | 74 68 20 61 6e 6f 74 68 |again wi|th anoth|
|00000650| 65 72 20 72 65 63 74 20 | 77 69 74 68 0d 74 68 69 |er rect |with.thi|
|00000660| 73 20 6e 65 77 20 6f 66 | 66 73 65 74 2c 20 61 6e |s new of|fset, an|
|00000670| 64 20 69 74 20 77 69 6c | 6c 20 70 72 69 6e 74 20 |d it wil|l print |
|00000680| 74 68 65 20 74 65 78 74 | 20 73 74 61 72 74 69 6e |the text| startin|
|00000690| 67 20 61 74 20 74 68 65 | 20 6e 65 77 20 6f 66 66 |g at the| new off|
|000006a0| 73 65 74 2e 0d 54 68 69 | 73 20 6d 65 74 68 6f 64 |set..Thi|s method|
|000006b0| 20 69 73 20 76 65 72 79 | 20 75 73 65 66 75 6c 20 | is very| useful |
|000006c0| 77 68 65 6e 20 61 20 73 | 69 6e 67 6c 65 20 54 65 |when a s|ingle Te|
|000006d0| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 20 69 73 |xtEdit r|ecord is|
|000006e0| 20 6c 6f 6e 67 65 72 20 | 74 68 61 6e 20 61 0d 73 | longer |than a.s|
|000006f0| 69 6e 67 6c 65 20 70 61 | 67 65 2c 20 61 6e 64 20 |ingle pa|ge, and |
|00000700| 79 6f 75 20 77 69 73 68 | 20 74 68 65 20 74 65 78 |you wish| the tex|
|00000710| 74 20 74 6f 20 62 72 65 | 61 6b 20 61 74 20 74 68 |t to bre|ak at th|
|00000720| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 70 61 67 |e end of| the pag|
|00000730| 65 2e 0d 54 68 65 20 62 | 6f 74 74 6f 6d 20 6f 66 |e..The b|ottom of|
|00000740| 20 72 65 63 74 20 69 73 | 20 61 6c 73 6f 20 75 70 | rect is| also up|
|00000750| 64 61 74 65 64 2c 20 61 | 6c 6f 6e 67 20 77 69 74 |dated, a|long wit|
|00000760| 68 20 74 68 65 20 6f 66 | 66 73 65 74 2e 20 20 54 |h the of|fset. T|
|00000770| 68 65 20 62 6f 74 74 6f | 6d 20 65 64 67 65 0d 6f |he botto|m edge.o|
|00000780| 66 20 74 68 65 20 72 65 | 63 74 20 69 73 20 63 68 |f the re|ct is ch|
|00000790| 61 6e 67 65 64 20 74 6f | 20 72 65 66 6c 65 63 74 |anged to| reflect|
|000007a0| 20 74 68 65 20 61 63 74 | 75 61 6c 20 62 6f 74 74 | the act|ual bott|
|000007b0| 6f 6d 20 6f 66 20 74 68 | 65 20 74 65 78 74 20 70 |om of th|e text p|
|000007c0| 72 69 6e 74 65 64 2e 0d | 54 68 69 73 20 69 73 20 |rinted..|This is |
|000007d0| 75 73 65 66 75 6c 20 62 | 65 63 61 75 73 65 20 74 |useful b|ecause t|
|000007e0| 68 65 20 72 65 63 74 20 | 70 61 73 73 65 64 20 69 |he rect |passed i|
|000007f0| 6e 20 64 69 64 6e d5 74 | 20 6e 65 63 65 73 73 61 |n didn.t| necessa|
|00000800| 72 69 6c 79 20 68 6f 6c | 64 20 61 6e 0d 69 6e 74 |rily hol|d an.int|
|00000810| 65 67 65 72 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |eger num|ber of l|
|00000820| 69 6e 65 73 20 6f 66 20 | 74 65 78 74 2e 20 20 54 |ines of |text. T|
|00000830| 68 65 20 62 6f 74 74 6f | 6d 20 6f 66 20 74 68 65 |he botto|m of the|
|00000840| 20 72 65 63 74 20 69 73 | 20 61 64 6a 75 73 74 65 | rect is| adjuste|
|00000850| 64 20 73 6f 0d 69 74 20 | 65 78 61 63 74 6c 79 20 |d so.it |exactly |
|00000860| 68 6f 6c 64 73 20 63 6f | 6d 70 6c 65 74 65 20 6c |holds co|mplete l|
|00000870| 69 6e 65 73 20 6f 66 20 | 74 65 78 74 2e 0d 49 74 |ines of |text..It|
|00000880| 20 69 73 20 61 6c 73 6f | 20 70 6f 73 73 69 62 6c | is also| possibl|
|00000890| 65 20 74 68 61 74 20 74 | 68 65 20 72 65 63 74 20 |e that t|he rect |
|000008a0| 63 6f 75 6c 64 20 68 6f | 6c 64 20 73 75 62 73 74 |could ho|ld subst|
|000008b0| 61 6e 74 69 61 6c 6c 79 | 20 6d 6f 72 65 20 6c 69 |antially| more li|
|000008c0| 6e 65 73 20 6f 66 0d 74 | 65 78 74 20 74 68 61 6e |nes of.t|ext than|
|000008d0| 20 74 68 65 72 65 20 61 | 72 65 20 72 65 6d 61 69 | there a|re remai|
|000008e0| 6e 69 6e 67 2e 20 20 41 | 67 61 69 6e 2c 20 69 6e |ning. A|gain, in|
|000008f0| 20 74 68 69 73 20 73 69 | 74 75 61 74 69 6f 6e 2c | this si|tuation,|
|00000900| 20 74 68 65 20 62 6f 74 | 74 6f 6d 20 6f 66 0d 72 | the bot|tom of.r|
|00000910| 65 63 74 20 69 73 20 61 | 64 6a 75 73 74 65 64 20 |ect is a|djusted |
|00000920| 73 6f 20 74 68 61 74 20 | 74 68 65 20 72 65 63 74 |so that |the rect|
|00000930| 20 74 69 67 68 74 6c 79 | 20 62 6f 75 6e 64 73 20 | tightly| bounds |
|00000940| 74 68 65 20 74 65 78 74 | 20 70 72 69 6e 74 65 64 |the text| printed|
|00000950| 2e 0d 54 68 65 20 72 65 | 6d 61 69 6e 69 6e 67 20 |..The re|maining |
|00000960| 70 69 65 63 65 20 6f 66 | 20 69 6e 66 6f 72 6d 61 |piece of| informa|
|00000970| 74 69 6f 6e 20 70 61 73 | 73 65 64 20 62 61 63 6b |tion pas|sed back|
|00000980| 20 69 73 20 61 6e 20 69 | 6e 64 69 63 61 74 6f 72 | is an i|ndicator|
|00000990| 20 74 68 61 74 20 74 68 | 65 0d 74 65 78 74 20 74 | that th|e.text t|
|000009a0| 68 72 6f 75 67 68 20 74 | 68 65 20 65 6e 64 20 6f |hrough t|he end o|
|000009b0| 66 20 74 68 65 20 54 65 | 78 74 45 64 69 74 20 72 |f the Te|xtEdit r|
|000009c0| 65 63 6f 72 64 20 77 61 | 73 20 70 72 69 6e 74 65 |ecord wa|s printe|
|000009d0| 64 2e 20 20 57 68 65 6e | 20 74 68 65 20 65 6e 64 |d. When| the end|
|000009e0| 0d 6f 66 20 74 68 65 20 | 74 65 78 74 20 69 73 20 |.of the |text is |
|000009f0| 72 65 61 63 68 65 64 2c | 20 74 68 65 20 6f 66 66 |reached,| the off|
|00000a00| 73 65 74 20 66 6f 72 20 | 74 68 65 20 6e 65 78 74 |set for |the next|
|00000a10| 20 74 65 78 74 20 74 6f | 20 62 65 20 70 72 69 6e | text to| be prin|
|00000a20| 74 65 64 20 69 73 0d 72 | 65 74 75 72 6e 65 64 20 |ted is.r|eturned |
|00000a30| 61 73 20 2d 31 2e 20 20 | 54 68 69 73 20 69 6e 64 |as -1. |This ind|
|00000a40| 69 63 61 74 65 73 20 74 | 68 61 74 20 70 72 6f 63 |icates t|hat proc|
|00000a50| 65 73 73 69 6e 67 20 6f | 66 20 74 68 65 20 54 65 |essing o|f the Te|
|00000a60| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 0d 69 73 |xtEdit r|ecord.is|
|00000a70| 20 63 6f 6d 70 6c 65 74 | 65 2e 20 0d 0d 0d 00 16 | complet|e. .....|
|00000a80| 00 01 00 00 00 00 00 0b | 00 09 00 04 00 00 00 09 |........|........|
|00000a90| 00 00 00 00 00 00 | |...... | |
+--------+-------------------------+-------------------------+--------+--------+